package com.wus.common.feign.config;

import com.wus.common.feign.FeignHeaderInterceptor;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @Description: 配置类
 * @Author: wus
 * @Date: 2024/12/18 12:30
 */
@AutoConfiguration
public class FeignConfigure {

    @Bean
    public FeignHeaderInterceptor feignHeaderInterceptor() {
        return new FeignHeaderInterceptor();
    }
}
